import {SETROUTER} from '@/redux/constant.js'
const initData = []
export default function Router_reducer(preState=initData,action){
  const {type,data} = action
  switch (type){
    case SETROUTER:
      return data;
    default:
      return preState;
  }
}
